package com.xmhmyh.generalframework.common.enums;

/**
 * @Author: 于丁
 * 输出操作记录的操作类型
 * @DateTime: 2020/6/28 2:23 下午
 */
public enum LogModule implements BaseEnums {
    UNKNOW(0, "未知"),
    USERMANAGE(1, "用户管理"),
    ACCOUNTMANAGE(2, "账户管理"),
    ROLEMANAGE(3, "角色管理"),
    MENUMANAGE(4, "菜单管理"),
    CODE_GEN(5, "代码生成"),
    PARAMS(6, "系统参数"),
    DICTIONARY(7, "用户字典"),
    TASK(8, "定时任务"),
    AGENT(9, "代理商"),
    ;

    LogModule(int value, String label) {
        this.value = value;
        this.label = label;
    }

    private int value;
    private String label;

    @Override
    public int getValue() {
        return value;
    }

    @Override
    public String getLabel() {
        return label;
    }
}
